﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace nadModel.pad
{
    public partial class MaterialProcess : AbstractEntityProcess
    {
        public string conection_addr = "http://nad.nadfinlo.com.cn/nad/";
        public MaterialEntity[] FindByJobNum(string Jobnum, string company)
        {
            string sql = " select * from " + MaterialEntity.DB_TABLES + " where company='" + company + "' "
                               + " and " + MaterialEntity.JOB_NUM + "='" + Jobnum + "' ";
            MaterialEntity[] ents = (MaterialEntity[])FindBySql(sql,conection_addr);
            return ents;
        }


    }
}
